import Home from "../pages/home/home";
import Register from "../pages/register";
import Login from "../pages/login";
import NoticeList from "../pages/system/noticeList";
import NoticeAdd from "../pages/system/noticeAdd";
import NotFound from "../pages/notFound";

export default [
  { path: "/", name: "Home", component: Home },
  { path: "/register", name: "Register", component: Register,auth: true},//有auth:true的属性说明不需要对页面进行登录验证
  { path: "/login", name: "Login", component: Login,auth: true},
  { path: "/system/notice", name: "NoticeList", component: NoticeList},
  { path: "/system/notice/add", name: "NoticeAdd", component: NoticeAdd},
  { path: "", name: "NotFound", component: NotFound}
]